package com.ccys.db.mapper;

import com.ccys.db.dto.web.productAndService.BatchDetailServiceDto;
import com.ccys.db.dto.web.productAndService.MedicalServiceListDetailDto;
import com.ccys.db.entity.TblMedicalServiceListDetail;
import com.ccys.db.vo.web.productAndService.ExistServiceVo;
import com.ccys.db.vo.web.productAndService.MedicalServiceListDetailPackageVo;
import com.ccys.db.vo.web.productAndService.MedicalServiceListDetailVo;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;

import java.util.List;

/**
* Created by Mybatis Generator on 2023/12/08
*/
public interface TblMedicalServiceListDetailMapper extends Mapper<TblMedicalServiceListDetail>, MySqlMapper<TblMedicalServiceListDetail> {

    List<ExistServiceVo> getExistServiceList(String listId, List<BatchDetailServiceDto> dtoList);

    List<ExistServiceVo> getExistPackageList(String listId, List<BatchDetailServiceDto> dtoList);


    List<MedicalServiceListDetailVo> getServiceList(MedicalServiceListDetailDto dto);

    List<MedicalServiceListDetailPackageVo> getPackageList(MedicalServiceListDetailDto dto);

    List<MedicalServiceListDetailVo> getServiceListByPackageId(String packageId);

    void deleteDetails(String listId);
}